<script type="text/javascript">
	<!--

	    function rowState() {
	    if (enhanced) {
	    if (document.getElementById("ownBlogsYes").checked == true) {
	    showRows();
	    if (document.getElementById("useBlogList").checked == true) {
	    showRows2();
	    } else {
	    hideRows2();
	    }
	    } else {
	    hideRows();
	    }
	    }
	    }

	    function hideRows() {
	    if (enhanced) {
	    document.getElementById("ownBlogsH").style.display = 'none';
	    document.getElementById("btnsProfile").style.display = 'none';
	    document.getElementById("btnsPosts").style.display = 'none';
	    document.getElementById("styleSwitch").style.display = 'none';
	    document.getElementById("tblListing").style.display = 'none';
	    }
	    }
	    function hideRows2() {
	    if (enhanced) {
	    document.getElementById("listingH").style.display = 'none';
	    document.getElementById("listTitle").style.display = 'none';
	    document.getElementById("listIntro").style.display = 'none';
	    document.getElementById("blogsPerPg").style.display = 'none';
	    //document.getElementById("latestPosts").style.display = 'none';
	    document.getElementById("useCSS").style.display = 'none';
	    }
	    }


	    function showRows() {
	    if (enhanced) {
	    document.getElementById("ownBlogsH").style.display = '';
	    document.getElementById("btnsProfile").style.display = '';
	    document.getElementById("btnsPosts").style.display = '';
	    document.getElementById("styleSwitch").style.display = '';
	    document.getElementById("tblListing").style.display = '';
	    }
	    }
	    function showRows2() {
	    if (enhanced) {
	    document.getElementById("listingH").style.display = '';
	    document.getElementById("listTitle").style.display = '';
	    document.getElementById("listIntro").style.display = '';
	    document.getElementById("blogsPerPg").style.display = '';
	    //document.getElementById("latestPosts").style.display = '';
	    document.getElementById("useCSS").style.display = '';
	    }
	    }


	    function enhancePage() {
	    // Enhance the page  if JS features are available
	    if(document.getElementById){
	    //We can use  getElementById, prepare the page
	    var warningPara = document.getElementById('noJsMsg');
	    warningPara.style.display='none';
	    warningPara.parentNode.removeChild(warningPara);
	    return true;
	    } else {
	    return false;
	    }
	    }

	    //var enhanced = enhancePage();
	    //window.onload = rowState;

	    //-->
</script>

<img src="../templates/subSilver/images/wp-united-logo.gif" style="position: absolute; left: 2px; top: 2px; " />

<h1 style="text-align: center;">{L_WPWIZARD_H1} &ndash; {L_WPWIZARD_STEP}</h1>

<h2 style="text-align: center;">{L_WPWIZARD_S4_TITLE}</h2>
<br />

<!-- BEGIN switch_wp_error -->
<div style="background-color: red; border: 1px solid #ffffff; width = 100%; height = 100px; vertical-align: center;"><p style="color: #ffffff; font-weight: bold;">{switch_wp_error.WP_ERROR_MSG}</p></div>
<!-- END switch_wp_error -->

<p class="gen">{L_WPWIZARD_S4_EXPLAIN}</p>

<p class="gen" style="color: red;" id="noJsMsg">{L_WP_NO_ADV_JS}</p><br />

<form action="{S_WPWIZ_ACTION}" method="post">
	<table width="80%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline" style="margin-bottom: 10px;">
		<tr>
			<th class="thHead" colspan="2">{L_WPWIZARD_S4_TITLE}</th>
		</tr>
		<tr>
			<td class="row1"><strong>{L_WPOWNBLOGS_TITLE}</strong><br /><br /><span class="gensmall">{L_WPOWNBLOGS_EXPLAIN1}<br /><br />{L_WPOWNBLOGS_EXPLAIN2}</span></td>
			<td class="row2" style="width: 150px; min-width: 150px; text-align: center;"><input type="radio" id="ownBlogsYes" name="rad_ownBlogs" value="1" onClick="rowState()" {S_WPOWNBLOGS_ENABLE} />{L_WP_YES}&nbsp; &nbsp;<input type="radio" name="rad_ownBlogs" value="0" onClick="rowState()" {S_WPOWNBLOGS_DISABLE} />{L_WP_NO}</td>
		</tr>
		<tr id="ownBlogsH">
			<td class="catbottom" colspan="2"><span class="gen">{L_WPOWNBLOGS_OPTTITLE}</span></td>
		</tr>
		<tr id="btnsProfile">
			<td class="row2"><strong>{L_WPBTNSPROF_TITLE}</strong><br /><br /><span class="gensmall">{L_WPBTNSPROF_EXPLAIN}</span></td>
			<td class="row2" style="width: 150px; min-width: 150px; text-align: center;"><input type="radio" id="profBtnsYes" name="rad_Prof" value="1" {S_WPBTNSPROF_ENABLE} />{L_WP_YES}&nbsp; &nbsp;<input type="radio" name="rad_Prof" value="0" {S_WPBTNSPROF_DISABLE} />{L_WP_NO}</td>
		</tr>
		<tr id="btnsPosts">
			<td class="row2"><strong>{L_WPBTNSPOST_TITLE}</strong><br /><br /><span class="gensmall">{L_WPBTNSPOST_EXPLAIN}</span></td>
			<td class="row2" style="width: 150px; min-width: 150px; text-align: center;"><input type="radio" id="postBtnsYes" name="rad_Post" value="1" {S_WPBTNSPOST_ENABLE} />{L_WP_YES}&nbsp; &nbsp;<input type="radio" name="rad_Post" value="0" {S_WPBTNSPOST_DISABLE} />{L_WP_NO}</td>
		</tr>
		<tr id="styleSwitch">
			<td class="row2"><strong>{L_WPSTYLESWITCH_TITLE}</strong><br /><br /><span class="gensmall">{L_WPSTYLESWITCH_EXPLAIN1}<br /><br />{L_WPSTYLESWITCH_EXPLAIN2}</span></td>
			<td class="row2" style="width: 150px; min-width: 150px; text-align: center;"><input type="radio" id="stylesYes" name="rad_Styles" value="1" {S_WPSTYLESWITCH_ENABLE} />{L_WP_YES}&nbsp; &nbsp;<input type="radio" name="rad_Styles" value="0" {S_WPSTYLESWITCH_DISABLE} />{L_WP_NO}</td>
		</tr>
	</table>

	<table id="tblListing" width="80%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline" style="margin-bottom: 10px;">
		<tr>
			<th class="thHead" colspan="2">{L_WPBLOGLIST_HEAD}</th>
		</tr>
		<tr>
			<td class="row1"><strong>{L_WPBLOGLIST_TITLE}</strong><br /><br /><span class="gensmall">{L_WPBLOGLIST_EXPLAIN1}<br /><br />{L_WPBLOGLIST_EXPLAIN2}</span></td>
			<td class="row2" style="width: 150px; min-width: 150px; text-align: center;"><input type="radio" id="useBlogList" name="rad_useList" value="1" onClick="rowState()" {S_BLOGHOME_ENABLE} />{L_WP_YES}&nbsp; &nbsp;<input type="radio" name="rad_useList" value="0" onClick="rowState()" {S_BLOGHOME_DISABLE} />{L_WP_NO}</td>
		</tr>
		<tr id="listingH">
			<td class="catbottom" colspan="2"><span class="gen">{L_WPBLOGLIST_OPTTITLE}</span></td>
		</tr>
		<tr id="listTitle">
			<td class="row2"><strong>{L_WPBLOGTITLE_TITLE}</strong><br /><br /><span class="gensmall">{L_WPBLOGTITLE_EXPLAIN}</span></td>
			<td class="row2"><input type="text" id="txtListTitle" name="txt_ListTitle" value="{S_WPBLOGTITLE}"  /></td>
		</tr>
		<tr id="listIntro">
			<td class="row2"><strong>{L_WPBLOGINTRO_TITLE}</strong><br /><br /><span class="gensmall">{L_WPBLOGINTRO_EXPLAIN1}<br /><br />{L_WPBLOGINTRO_EXPLAIN2}</span></td>
			<td class="row2"><textarea rows="5" cols="30" id="txtIntro" name="txt_Intro">{S_WPBLOGINTRO}</textarea></td>
		</tr>
		<tr id="blogsPerPg">
			<td class="row2"><strong>{L_WPBLOGSPERPAGE_TITLE}</strong><br /><br /><span class="gensmall">{L_WPBLOGSPERPAGE_EXPLAIN}</span></td>
			<td class="row2"><input type="text" id="txtBlogsPerPg" name="txt_BlogsPerPg" value="{S_WPBLOGSPERPAGE}"  /></td>
		</tr>
		<!-- <tr id="latestPosts">
			<td class="row2"><strong>{L_WPLATEST_POSTS_TITLE}</strong><br /><br /><span class="gensmall">{L_WPLATEST_POSTS_EXPLAIN}</span></td>
			<td class="row2"><input type="text" id="txtLatestPosts" name="txt_LatestPosts" value="{S_WPLATEST_POSTS}"  /></td>
		</tr> -->
		<tr id="useCSS">
			<td class="row2"><strong>{L_WPBL_CSS_TITLE}</strong><br /><br /><span class="gensmall">{L_WPUBL_CSS_EXPLAIN1}<br /><br />{L_WPUBL_CSS_EXPLAIN2}</span></td>
			<td class="row2" style="width: 150px; min-width: 150px; text-align: center;"><input type="radio" id="useCSS" name="rad_useCSS" value="1" {S_WPUBL_CSS_ENABLE}/>{L_WP_YES}&nbsp; &nbsp;<input type="radio" name="rad_useCSS" value="0" {S_WPUBL_CSS_DISABLE} />{L_WP_NO}</td>
		</tr>
	</table>

	<table width="80%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
		<tr>
			<td class="row1" style="width: 50%; text-align: right;"><input type="submit" name="Back" value="{L_WPBACK}" class="mainoption" /></td>
			<td class="row1" style="text-align: left;"><input type="submit" name="Next" value="{L_WPNEXT}" class="mainoption" /></td>
		</tr>
	</table>
</form>

<script type="text/javascript">
	<!--
	    var enhanced = enhancePage();
	    rowState();
	    //-->
</script>

<!-- BEGIN switch_show_footer -->
<br clear="both" />
<!--
    Please keep this copyright notice visible and unaltered.
    -->
<div align="center" class="copyright">{L_WP_FOOTER}</div>
<!-- END switch_show_footer -->